package com.sun.domain;

import java.io.Serializable;

/**
 * @author SunRui
 * @description 读者表
 * @date 2024/7/4 20:24
 */
public class Reader implements Serializable {
    private static final long serialVersionUID = 678117352270606100L;
    private int id;//读者ID
    private String name;//姓名
    private String pwd;//密码
    private int borrowSum;//可借数量
    private String email;//邮箱
    private float money;//余额

    @Override
    public String toString() {
        return "Reader{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", borrowSum=" + borrowSum +
                ", email='" + email + '\'' +
                ", money=" + money +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getBorrowSum() {
        return borrowSum;
    }

    public void setBorrowSum(int borrowSum) {
        this.borrowSum = borrowSum;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }
}
